import { createApp } from 'vue'
import App from './App.vue'
import { registerApp } from './global'
import router from './router/index'
import store from './store/index'
import 'normalize.css'
import './assets/css/index.less'
import { setupStore } from '@/store/index'
// 全局引入
// import ElementPlus from 'element-plus'

// import { ElButton } from 'element-plus/lib/index'
// import 'element-plus/theme-chalk/index.css'

const app = createApp(App)
app.use(registerApp)
// app.component(ElButton.name, ElButton)

app.use(store)

setupStore()
app.use(router)
// app.use(ElementPlus)
app.mount('#app')
